<?php

//测试环境
define('MYSQL_SERVER', 'localhost');
define('MYSQL_USER', 'holyhu_data');
define('MYSQL_PASSWORD', 'ki33520');
define('MYSQL_DATABASE', 'holyhu_data');
function new_meddo() {
    $mysql = new medoo(
		array(
			'database_type' => 'mysql',
			'database_name' => MYSQL_DATABASE,
			'server' => MYSQL_SERVER,
			'username' => MYSQL_USER,
			'password' => MYSQL_PASSWORD,
		)
    );
    return $mysql;
};
?>
